<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<title>WFS-T</title>
		
		<link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
	 	<link rel="stylesheet" type="text/css" href="../../resources/css/style.css" />   
	   			
   		<script type="text/javascript" src="../../resources/ext/ext-base.js"></script>
 		<script type="text/javascript" src="../../resources/ext/ext-all.js"></script>
 		
 		<script src="http://www.openlayers.org/api/2.9/OpenLayers.js"></script>
 		<script type="text/javascript" src="../../config.js"></script>
        <script type="text/javascript" src="../../resources/geoext/script/GeoExt.js"></script>
        
        <script type="text/javascript" src="../../resources/ext/GBIF.GeoSpatial.GeoRSS.js"></script>
        <script type="text/javascript" src="../../resources/ext/GBIF.GeoSpatial.SelectFeature.js"></script>
        <script type="text/javascript" src="../../resources/ext/GBIF.GeoSpatial.RemoveFeature.js"></script>
        
        <script type="text/javascript" src="../../resources/js/datapanel/GBIF.GeoSpatial.FeatureDataGrid.js"></script>
        <script type="text/javascript" src="../../resources/js/datapanel/GBIF.GeoSpatial.GeoRssKmlDataPanel.js"></script>
		<script type="text/javascript" src="../../resources/js/datapanel/GBIF.GeoSpatial.Console.js"></script>
		<script type="text/javascript" src="../../resources/js/datapanel/GBIF.GeoSpatial.DataGrid.js"></script>
		<script type="text/javascript" src="../../resources/js/datapanel/GBIF.GeoSpatial.LegendPanel.js"></script>
		
		<script type="text/javascript" src="../../resources/js/GBIF.GeoSpatial.TabManager.js"></script>
		<script type="text/javascript" src="../../resources/js/GBIF.GeoSpatial.GeoMapPanel.js"></script>
        
        <script type="text/javascript" src="GBIF.GeoSpatial.CenterPanel.js"></script>
		
		
		<script type="text/javascript">
		
			Ext.namespace('GBIF');
				Ext.namespace('GBIF.GeoSpatial');
				
				GBIF.GeoSpatial.BUS = new Ext.util.Observable();
				GBIF.GeoSpatial.BUS.addEvents('addTab'); 
		
		Ext.onReady(function() {
	
				// Disable browser right click
				Ext.fly(document.body).on('contextmenu', function(e, target) {
						e.preventDefault();
					});
	
				var grid = new GBIF.GeoSpatial.CenterPanel({
							renderTo:Ext.getBody()
					});
				
				var mainEntry = new Ext.Viewport({
						layout: 'border'
					, 	items: [{
					 		region: 'center'
					 	, 	border: false
					 	, 	id: 'scviewport'
					 	, 	layout: 'fit'
					 	,	items: [grid]
							}]
					})
				
		})
		</script>
		
</head>

</html>